<html>
<head>
<title>Wulongdao</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/default.css" />
<link href="/css/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="/css/tagit.css" rel="stylesheet" type="text/css"/>
<script src="/js/jquery-1.6.2.min.js"></script>
<script src="/js/jquery-ui.min.js"></script>
<script src="/js/tagit.js"></script>
</head>
<body>
<div id="header">
<div id="title">
<span>Header</span>
</div>
<div id="container">
<div id="linkInput">
<form action="/question/post" method="POST">
标题:&nbsp;<input type="input" name="title" value="" style="width:500px;"/><br />
描述:&nbsp;<textarea name="description" style="width:500px;height:50px;"></textarea><br />
主题:&nbsp;<div style="padding:0 0 0 30"><ul id="topic" name="topic[]" class="tagit"></ul></div>
<input type="submit" id="goodluck" name="goodluck" value="Ok!"/>
</form>
</div>
</div>
</div>
    <script>
        $(function() {
            var availableTags = [
                "ActionScript",
                "AppleScript",
                "Asp",
                "BASIC",
                "C",
                "C++",
                "Clojure",
                "COBOL",
                "ColdFusion",
                "Erlang",
                "Fortran",
                "Groovy",
                "Haskell",
                "Java",
                "JavaScript",
                "Lisp",
                "Perl",
                "PHP",
                "Python",
                "Ruby",
                "Scala",
                "Scheme"
            ];
            $('#topic').tagit({tagSource: availableTags, select: true, maxTags:5, maxLength:10});
        });
    </script>
</body>
</html>
